<template>
  <div>
    <van-grid :column-num="5">
      <van-grid-item
        v-for="item in channelArr"
        :key="item.id"
        :icon="item.icon_url"
        :text="item.name"
        @click="res3(item)"
      />
    </van-grid>
  </div>
</template>

<script>
export default {
  name: "",
  props: ["channelArr"],
  data() {
    return {};
  },
  methods:{
    res3(item){
      // console.log(item);
       this.$router.push({
          path: "/categoryList",
          query: { id: item.id }
        });
    }
  },
};
</script>

<style>
</style>